package com.wyg.service;

import com.wyg.model.User;

import java.util.List;

public interface UserService extends BookService, LoginService{
    User findUserById(int id) throws Throwable;

    List<User> getUsers() throws Throwable;

    int addUser(User user) throws Throwable;

    int deleteUser(int id) throws Throwable;

    int updateUser(User user) throws Throwable;
}
